package com.blb.goods_service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.goods_service.entity.Brand;

import java.util.List;

/**
 * tb_brand的service接口
 */
public interface IBrandService extends IService<Brand> {

    List<Brand> findBrandsByCategory(Integer cid);

    Brand findBrandById(Long id);
    Brand saveBrand(Brand brand);
    void deleteBrand(Long id);
    IPage<Brand> pageBrands(Long page);
}
